Runs a command that returns a value asynchronously.
public void RunAsync(
DocumentViewerAsyncOperation<object> operation,
string commandName
)
Public Sub RunAsync(
ByVal operation As DocumentViewerAsyncOperation(Of Object),
ByVal commandName As String
)
public:
void RunAsync(
DocumentViewerAsyncOperation<Object^>^ operation,
String^ commandName
)
operation
Asynchronous operation data to use.
commandName
Command name
This method uses the thread pool to queue Run(commandName, value), then invokes Done (if not null) on success, Error (if not null) if an exception occurred and Always (if not null) at the end of either case.
The result of running the command RunHandler will be in
Result
Refer to Document Viewer Commands for more information.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document